//
//  SDTabbarView.m
//  skinDetection
//
//  Created by  liangzhun on 2018/10/31.
//  Copyright © 2018年  liangzhun. All rights reserved.
//

#import "SDTabbarView.h"

@implementation SDTabbarView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
   
    UIView *view = [super hitTest:point withEvent:event];
    if (view == nil) {
        CGPoint tempoint = [self.goBtn convertPoint:point fromView:self];
        if (CGRectContainsPoint(self.goBtn.bounds, tempoint))
        {
            view = self.goBtn;
        }
    }
    return view;
    
}
@end
